package com.amado.easyui2.vo;

import java.util.List;

public class Page<T> {
	
	private int currentPage;
	private int rowSize;
	/**
	 * 总共数据条数
	 */
	private int total;

	/**
	 * 返回的列表数据
	 */
	private List<T> rows;

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getRowSize() {
		return rowSize;
	}

	public void setRowSize(int rowSize) {
		this.rowSize = rowSize;
	}

	public Page() {
		super();
	}

	public Page(int total, List<T> rows) {
		super();
		this.total = total;
		this.rows = rows;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

}

